package routers

import (
	"github.com/astaxie/beego"
	"hello/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/user/authority", &controllers.AuthorityController{})
	beego.Router("/wxVerify", &controllers.WXVerify{})
	beego.Router("/home", &controllers.Home{})
	beego.Router("/getOpenid", &controllers.UserOpenId{})
	beego.Router("/test", &controllers.Test{})
	beego.Router("/deviceInfo", &controllers.DeviceInfoControllers{})
	beego.Router("/newband", &controllers.NewbandController{})
	beego.Router("/banddevice", &controllers.NewbandController{}, "post:BandDevice")
	beego.Router("/mqttws", &controllers.MqttWebsocket{})
	beego.Router("/setparams", &controllers.ParameterController{}, "post:Post")
	beego.Router("/setmode", &controllers.DeviceStartStopController{})
	beego.Router("/airkiss", &controllers.AirkissController{})
	beego.Router("/unband", &controllers.UnbandController{})
}
